package com.nz2004.mapper;

import com.nz2004.entity.AdminUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminUserMapper {
    AdminUser queryAdminUserByEmail(@Param("email") String email);
    int insertAdminUser(AdminUser adminUser);
    List<AdminUser> queryUsers(@Param("email") String email, @Param("status") Integer status);
    int deleteAdminUserById(@Param("id") int id);
    int updateAdminUser(AdminUser adminUser);
}
